:root {
  --forest-dark: #0B2E20;
  --forest: #123C29;
  --green: #1F9D55;
  --green-bright: #2BB86A;
  --sun: #FFCF4D;
  --cream: #F6F8F4;
  --ink: #10241A;
  --ink-soft: #4B5A52;
  --white: #FFFFFF;

  --font-head: "Manrope", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--forest) 0%, var(--forest-dark) 60%, #081F16 100%);
  padding: 48px 20px 56px;
  color: var(--white);
}

.hero-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.banner {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 32px;
  border-radius: 18px;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--white);
}

.hero .lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.hero .disclaimer {
  margin-top: 14px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  background: var(--sun);
  color: #21170a;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 20px rgba(255, 207, 77, 0.25);
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255, 207, 77, 0.32); }
.btn:active { transform: translateY(0); }

/* ---------- Features ---------- */

.features {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 20px 8px;
}

.features h2 {
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 32px;
  color: var(--forest-dark);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid #E4EAE2;
  border-radius: 20px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card .icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #EAF7EE;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .icon svg { width: 20px; height: 20px; }

.card h3 {
  font-size: 17px;
  font-weight: 700;
}

.card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- CTA ---------- */

.cta {
  max-width: 560px;
  margin: 64px auto 0;
  padding: 40px 24px 64px;
  text-align: center;
}

.cta h2 {
  font-size: clamp(20px, 4vw, 24px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--forest-dark);
}

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 28px 20px 40px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid #E4EAE2;
}

footer p { margin-bottom: 8px; }

.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--forest);
  font-size: 13px;
  font-family: var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-btn:hover { color: var(--green); }

/* ---------- Privacy policy modal ---------- */

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 15, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.overlay[hidden] { display: none; }

.policy-modal {
  background: var(--white);
  width: min(560px, 100%);
  max-height: 80vh;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.policy-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid #E4EAE2;
  background: var(--white);
}

.policy-header h2 {
  font-size: 17px;
  font-weight: 700;
}

.close-btn {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover { background: #E4EAE2; }

.policy-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.policy-body p { margin-bottom: 12px; }

.policy-body h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 8px;
}

.policy-body h3:first-child { margin-top: 0; }

.policy-body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.policy-body li {
  margin-bottom: 6px;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .banner { max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
